WP_Defender\Component\Password_Protection S

Total Complexity 36
Dependencies 6
Dependents 2
Total lines 257
Lines of code 135
Logical lines of code 69
Comment lines 91
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
is_enabled_by_user_role()
S
54 6 22
check_pwned_password()
S
51 4 27
hosting_compatibility()
S
60 4 11
get_submitted_password()
S
62 3 11
get_reset_password_redirect_url()
S
59 2 16
reset_password_redirect()
S
65 3 9
password_last_changed()
S
64 3 10
remove_extra_cookies()
S
64 3 8
set_cookie_notice()
S
72 2 5
remove_cookie_notice()
S
70 2 6
check_expired_password()
S
78 2 3
__construct()
S
74 1 4
handle_password_updated()
S
79 1 3